package com.itheima.dao;

import com.itheima.pojo.OrderSetting;

import java.util.Date;
import java.util.List;
import java.util.Map;

public interface OrderSetingDao {
    long findCountByDate(Date date);
    void insertOrderSeting(OrderSetting orderSetting);
    void editOrderSetingByDate(OrderSetting orderSetting);
    //
    List<OrderSetting> findreservationsByDate(Map<String,String> map);

    OrderSetting findOrderSettingByDate(Date orderDate);
    //更新预约人数
    void editReservations(OrderSetting orderSetting);

}
